package com.qf.zyh.services;

import com.qf.zyh.common.ResponseResult;
import com.qf.zyh.common.ResultType;
import com.qf.zyh.entity.Role;

import java.util.List;

public interface RoleServices {
    List<Integer> getRoleMenu(Integer roleId);

    ResultType getRoleByPage(Integer page, Integer limit, String name);

    ResponseResult updaStatusByid(Integer id, Integer status);

    ResponseResult updaMenu(Integer roleId, Integer[] menuIds);

    ResponseResult updaRole(Role l);

    ResponseResult addRole(Role l);

    List<Role> getRole();

}
